package com.iplatform.file.function.meta.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @author lvhao
 * 数据源配置
 */
@ApiModel(value = "数据源", description = "数据源")
public class DbConfigVo implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id", name = "id")
	private String id;

    @ApiModelProperty(value = "数据源名称", name = "state", example = "119贵州统计平台",required = true)
	private String name;

    @ApiModelProperty(value = "数据源url", name = "state", example = "jdbc:oracle:thin:@192.168.12.119:1521:orcl",required = true)
	private String url;

    @ApiModelProperty(value = "用户名", name = "username", example = "EMPS_PLATFORM_119GZ",required = true)
	private String username;
	
    @ApiModelProperty(value = "密码", name = "password", example = "EMPS_PLATFORM_119GZ")
	private String password;

    @ApiModelProperty(value = "驱动", name = "driverClassName", example = "oracle.jdbc.driver.OracleDriver",required = true)
	private String driverClassName;

    @ApiModelProperty(value = "连接池初始值", name = "initialSize", example = "20",required = true)
	private String initialSize;

    @ApiModelProperty(value = "最小连接数", name = "minIdle", example = "10",required = true)
	private String minIdle;

    @ApiModelProperty(value = "最大连接数", name = "maxActive", example = "150",required = true)
	private String maxActive;

	

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getDriverClassName() {
		return driverClassName;
	}

	public void setDriverClassName(String driverClassName) {
		this.driverClassName = driverClassName;
	}

	public String getInitialSize() {
		return initialSize;
	}

	public void setInitialSize(String initialSize) {
		this.initialSize = initialSize;
	}

	public String getMinIdle() {
		return minIdle;
	}

	public void setMinIdle(String minIdle) {
		this.minIdle = minIdle;
	}

	public String getMaxActive() {
		return maxActive;
	}

	public void setMaxActive(String maxActive) {
		this.maxActive = maxActive;
	}
	

    
    
}
